package com.hzy.ums.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 购物车视图对象 ums_member_cart
 *
 * @author zengxin
 * @date 2023-10-19
 */
@Data
@ExcelIgnoreUnannotated
public class MemberCartVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车表ID
     */
    @ExcelProperty(value = "购物车表ID")
    private Long id;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "pms_publish_status")
    private Integer status;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private String memberId;

    /**
     * 商品ID
     */
    @ExcelProperty(value = "商品ID")
    private String productId;

    /**
     * 展示图片
     */
    @ExcelProperty(value = "展示图片")
    private String pic;

    /**
     * SKU ID
     */
    @ExcelProperty(value = "SKU ID")
    private String skuId;

    /**
     * 产品名称
     */
    @ExcelProperty(value = "产品名称")
    private String productName;

    /**
     * 商品属性
     */
    @ExcelProperty(value = "商品属性")
    private String spData;

    /**
     * 商品数量
     */
    @ExcelProperty(value = "商品数量")
    private String quantity;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    private Date updateTime;


}
